const BASE = 'https://jinding.gzzsu.com/shop112';
module.exports = {
    // 功能控制开关
    controlswitch: BASE + '/controlswitch',
    // 通联相关
    // 绑定手机号获取验证码
    applymoblie: BASE + '/applyallinphone',
    // 发送验证码绑定手机
    bindmoblie: BASE + '/bindallinphone',
    // 会员实名认证
    setRealName: BASE + '/setRealName',
    // 获取验证码绑定银行卡
    applyBankCard: BASE + '/applyBankCard',
    // 填写验证码绑定银行卡
    bindBankCard: BASE + '/bindBankCard',
    // 获取提现在线签约页面url
    applySignAcct: BASE + '/applySignAcct',
    // 生成提现订单(小程序调用)
    addwithdraworder: BASE + '/addwithdraworder',
    // 通联-个人会员提现申请(小程序调用)
    withdrawApply: BASE + '/withdrawApply',
    // 通联-验证码确认个人会员提现
    confirmWithdraw: BASE + '/confirmWithdraw',
    // 查询提现会员详情
    queryWmemberInfo: BASE + '/queryWmemberInfo',
    // 查询会员可提现余额
    checkAllinBalance: BASE + '/checkAllinBalance',


    // 用户订单分账明细列表
    orderAgentlogList: BASE + '/orderAgentlogList',
    // 用户下级成员列表
    queryMymember: BASE + '/queryMymember',
    // 提现记录列表
    withdrawList: BASE + '/withdrawList',

    // 生成积分换零订单
    pointexchange: BASE + '/pointexchange',
    // 积分换零申请平台转账
    applicationtransfer: BASE + '/applicationtransfer',
    // 积分兑换记录列表
    pToCashList: BASE + '/pToCashList',

    // 二维码接口
    // 添加
    wxacodeadd: BASE + '/wxacodeadd',
    // 详情
    wxacodedetail: BASE + '/wxacodedetail',
    // 列表
    wxacodelist: BASE + '/wxacodelist',
    // 解析
    wxacodescan: BASE + '/wxacodescan',
    // 分享记录 每一次分享的时候调用
    wxacodeshare: BASE + '/wxacodeshare',
    // 分享、点击量统计
    sortcount: BASE + '/sortcount',

    // 问答接口
    questionadd: BASE + '/questionadd',
    questionlist: BASE + '/questionlist',
    questiondetail: BASE + '/questiondetail',
    questiondelete: BASE + '/questiondelete',
    questiongivelike: BASE + '/questiongivelike',
    questioncancellike: BASE + '/questioncancellike',

    answeradd: BASE + '/answeradd',
    answerlist: BASE + '/answerlist',
    answerdetail: BASE + '/answerdetail',
    answerdelete: BASE + '/answerdelete',
    answergivelike: BASE + '/answergivelike',
    answercancellike: BASE + '/answercancellike',



    // 物流接口
    getmyexpress: BASE + '/getmyexpress',

    // 店铺接口
    shopDetail: BASE + '/shopdetail',

    // 品牌接口
    getBrands: BASE + '/brandlist',
    BrandDeatail: BASE + '/branddetail',
    BrandIndex: BASE + '/brandindex',
    BrandGoodslist: BASE + '/brandindex',
    // BrandIndex: BASE + '/brandgoodslist',

    // 分享接口
    sendShare: BASE + '/wxacodescan',

    // 优惠券接口
    getCoupon: BASE + '/tickettake',
    getCoupon2: BASE + '/tickettakev24',

    myCouponList: BASE + '/myticketlist',
    couponList: BASE + '/ticketlist',


    deliverylist: BASE + '/takelist',
    ticketadd: BASE + '/ticketadd',
    ticketdetail: BASE + '/ticketdetail',
    myticketdetail: BASE + '/myticketdetail',

    // 商品相关接口
    category_list: BASE + '/categorylist',
    goods_list: BASE + '/goodslist',
    goods_more: BASE + '/goodsmore',
    goods_details: BASE + '/goodsdetail',
    goods_search: BASE + '/goodssearch',
    goodshot: BASE + '/goodshot',
    product_details: BASE + '/productdetail',


    // 购物车接口
    cart_list: BASE + '/cartlist',
    cart_add: BASE + '/cartadd',
    cart_minus: BASE + '/cartsub',
    cart_delete: BASE + '/cartdelete',

    // 订单接口
    orderadd: BASE + '/orderadd',
    orderaddv2: BASE + '/orderaddv2',
    orderaddv3: BASE + '/orderaddv3',

    orderdel: BASE + '/orderdelete',
    orderstatus: BASE + '/ordercancel',
    orderlist: BASE + '/orderlist',
    orderpay: BASE + '/orderpay',
    orderpay3: BASE + '/orderpay3',

    orderdetail: BASE + '/orderdetail',
    orderconfirmReceive: BASE + '/ordercompletion',

    // 发货单接口
    deliDetail: BASE + '/deliverydetail',
    deliList: BASE + '/deliverylist',


    // 售后接口
    RMdetail: BASE + '/refundmentdetail', // 退款单详情
    suggestadd: BASE + '/suggestionadd', // 意见箱增加
    suggestdetail: BASE + '/suggestiondetail', // 意见箱详情



    // 地址接口
    addresslist: BASE + '/addresslist',
    addressadd: BASE + '/addressadd',
    addressdelete: BASE + '/addressdelete',
    addressupdate: BASE + '/addressupdate',
    addressdetail: BASE + '/addressdetail',
    deliverydetail: BASE + '/takedetail',

    getcity: BASE + '/getcity',


    // 健康咨询接口
    articledetail: BASE + '/articledetail',
    articlelist: BASE + '/articlelist',
    getSwiper: BASE + '/indexphoto',

    // 用户相关接口
    setName: BASE + '/setusername',
    upload_photo: BASE + '/uploadfile',
    login: BASE + '/login',
    setphone: BASE + '/setphone',
    register: BASE + '/register',
    myinfo: BASE + '/myinfo',
    set_phone: BASE + '/setphone',
    set_avatar: BASE + '/setavatar',
    get_area_list: BASE + '/areaslist',
    get_user_finance: BASE + '/userfinance',

    // 股权数统计
    stockloglistcount: BASE + '/stockloglistcount',



    followadd: BASE + '/followadd',
    followdelete: BASE + '/followdelete',
    followlist: BASE + '/followlist',
    qr_code: BASE + '/wxacodeshow',
    skilllist: BASE + '/skilllist',
    assemblelist: BASE + '/assemblelist',
}

let data = {
    count: 15,
    detail: {}, // 品牌详情
    goods: [],   // 品牌商品列表
    swiperBanners: {
        autoplay: false, // 由后台设置，前端是否自动播放轮播图
        list: [
            {
                id: 5,
                img: "http://img.qian.gzzsu.com/shop/qiankanghui/home-img/banner2.jpg",
                name: "",
                url: ""
            },
        ]
    },
    swiperGoods: {
        autoplay: true,
        list: [
            {
                id: 14,
                img: "http://img.qian.gzzsu.com/shop/qiankanghui/home-img/goods3.jpg",
                name: "goods124",
                url: "124"
            },
            {
                id: 13,
                img: "http://img.qian.gzzsu.com/shop/qiankanghui/home-img/goods1.jpg",
                name: "goods124",
                url: "124" // 商品id
            }
        ]
    },
}